import {Injectable} from '@angular/core';
import {Observable, Subject} from 'rxjs';
import {map, take, mapTo, filter} from 'rxjs/operators';
import {WsService} from "../../core/net/ws.service";

const CHAT_URL = `${(window as any).environment.wsUrl}websocket?token=${localStorage.token}`;

export interface Message {
  count: number;
}

@Injectable()
export class MsgCenterService {

  public messages: Subject<Message>;

  // constructor(wsService: WsService) {
  //
  // }
}
